﻿
using Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IDataAccessLayer;
using IBusinessLogicLayer;

namespace BusinessLogicLayer
{
    public class AlbumBll : BaseBll<Album>, IAlbumBll
    {
        private IAlbumDal dal;
        public AlbumBll(IAlbumDal dal) : base(dal)
        {
            this.dal = dal;
        }

        public IEnumerable<Album> GetTopSellingAlbums(int count)
        {
            return dal.GetTopSellingAlbums(count);
        }
    }
}
